package com.juejin.protocol.request;

import com.juejin.protocol.Packet;
import lombok.Data;
import lombok.EqualsAndHashCode;

import static com.juejin.protocol.command.Command.JOIN_GROUP_REQUEST;

/**
 * @author liliang
 * @date 2020/4/25.
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class JoinGroupRequestPacket extends Packet {

    private String groupId;

    @Override
    public Byte getCommand() {

        return JOIN_GROUP_REQUEST;
    }
}